package com.wfuhui.modules.store.entity;

import java.io.Serializable;
import java.util.Date;

import com.wfuhui.modules.member.entity.MemberEntity;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 经销商
 * 
 * @author lizhengle
 * @email codemax@qq.com
 * @date 07-16 21:50:42
 */
public class StoreEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//
	private Integer id;
	// logo
	private String logo;
	// 团长名称
	@Excel(name = "小区名称", width = 30, isImportField = "store_name")
	private String storeName;
	// 省
	private String province;
	// 市
	private String city;
	// 区
	private String district;
	// 详细地址
	private String address;
	// 经度
	private Double longitude;
	// 纬度
	private Double latitude;
	// 状态
	private Integer status;
	// 创建时间
	private Date createTime;

	private Integer distance;
	
	private Long userId;
	
	private MemberEntity user;
	
	private String remark;

	private String realName;

	private String mobile;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * 设置：logo
	 */
	public void setLogo(String logo) {
		this.logo = logo;
	}

	/**
	 * 获取：logo
	 */
	public String getLogo() {
		return logo;
	}

	/**
	 * 设置：团长名称
	 */
	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	/**
	 * 获取：团长名称
	 */
	public String getStoreName() {
		return storeName;
	}

	/**
	 * 设置：省
	 */
	public void setProvince(String province) {
		this.province = province;
	}

	/**
	 * 获取：省
	 */
	public String getProvince() {
		if(province == null){
			return "";
		}
		return province;
	}

	/**
	 * 设置：市
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * 获取：市
	 */
	public String getCity() {
		if(city == null){
			return "";
		}
		return city;
	}

	/**
	 * 设置：区
	 */
	public void setDistrict(String district) {
		this.district = district;
	}

	/**
	 * 获取：区
	 */
	public String getDistrict() {
		return district;
	}

	/**
	 * 设置：详细地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 获取：详细地址
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置：经度
	 */
	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	/**
	 * 获取：经度
	 */
	public Double getLongitude() {
		return longitude;
	}

	/**
	 * 设置：纬度
	 */
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	/**
	 * 获取：纬度
	 */
	public Double getLatitude() {
		return latitude;
	}

	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public Integer getDistance() {
		return distance;
	}

	public void setDistance(Integer distance) {
		this.distance = distance;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public MemberEntity getUser() {
		return user;
	}

	public void setUser(MemberEntity user) {
		this.user = user;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
}
